<%

boolean noSize =false;
for(int i=0;i<list.size();i++)
{
    Product obj = (Product)list.get(i);   
    for(int y =0;y< warehouseCodes.length;y++){
        if(obj.viewWarehouseCode(con).trim().equals(warehouseCodes[y].trim())){              
            noSize = true;
            break;
        }  
    }
   if(noSize){
      break;
   }

}

       int listfootPagePre = list.getPageNum()-1 ;
       if(listfootPagePre<=0) listfootPagePre=1 ;
       
       int listfootPageNext = list.getPageNum()+1 ;
       if(listfootPageNext>=list.getTotalPage()) listfootPageNext=list.getTotalPage() ; 
 

   

	
%>
<table cellpadding="2" cellspacing="1" width="98%" >
	<tr>
		<td width="23%" height="20" align="left">
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
<%
	if(bNeedAllCheckbox)
	{
%>
				<tr>
					<td width="60" valign="bottom" align="center"><a href="" onclick="selectAllCheckBox('ids');return false"><img src="<%=Config.getFrameworkPath()%>/images/list/m35.gif" width="57" height="20" border="0"></a></td>
					<td width="60" valign="bottom" align="center"><a href="" onclick="unselectAllCheckBox('ids');return false"><img src="<%=Config.getFrameworkPath()%>/images/list/m36.gif" width="57" height="20" border="0"></a></td>
					<td width="*">&nbsp;</td>
				</tr>
<%	
	}
	else 
	{
%>
				<tr>
					<td width="*">&nbsp;</td>
				</tr>
<%	
	}	
%>			

			</table>
		</td>
		<td align="right">
			<div width="90%" height="20" align="right" v>
			<table width="100%" border="0" cellspacing="0" cellpadding="0" height=28 >
			<tr valign="middle">
			<td width="*">&nbsp;</td>
            <% if(noSize){ %>
            <td width="350"  valign="middle" align="right">共&nbsp;0&nbsp;条记录；&nbsp;共&nbsp;0&nbsp;页&nbsp;</td>   
            <%}else{ %>
			<td width="350"  valign="middle" align="right">共&nbsp;<%=list.getTotalSize()%>&nbsp;条记录；&nbsp;共&nbsp;<%=list.getTotalPage()%>&nbsp;页&nbsp;</td>	
             <%} %>
			<td width="28" valign="middle" align="center"><a href="" title="首页" onclick="doCommonGo(1);return false;">首页</a></td>
			<td width="28" valign="middle" align="center"><a href="" title="上页" onclick="doCommonGo(<%=listfootPagePre%>);return false;">上页</a></td>
			<td width="28" valign="middle" align="center"><a href="" title="下页" onclick="doCommonGo(<%=listfootPageNext%>);return false;">下页</a></td>
            <td width="28" valign="middle" align="center"><a href="" title="末页" onclick="doCommonGo(<%=list.getTotalPage()%>);return false;">末页</a></td>
			<td width="50" valign="middle" align="center">第&nbsp;<input type="text" name="i_PageNum" size="2" value='<%=list.getPageNum()%>' maxlength="5" class=self_input></td>
			<td width="28" valign="middle" align="center"><input type="button" value="go" title="跳页" onclick="doCommonGo(-1);return false;"></td>
			
			
			
			<td width="44" valign="middle" align="center"><img width="11" height="14" src="<%=Config.getFrameworkPath()%>/images/list/m17.gif" title="每页10行" name=select_psize value=10 onclick="doCommonSearch(10);return false;" style="CURSOR: hand"/>10行</td>
			<td width="44" valign="middle" align="center"><img width="11" height="14" src="<%=Config.getFrameworkPath()%>/images/list/m18.gif" title="每页20行" onclick="doCommonSearch(20);return false;" style="CURSOR: hand"/>20行</td>
			<td width="44" valign="middle" align="center"><img width="11" height="14" src="<%=Config.getFrameworkPath()%>/images/list/m19.gif" title="每页50行" onclick="doCommonSearch(50);return false;" style="CURSOR: hand"/>50行</td>
			</tr>
			</table>
			</div>
		</td>
	</tr>
</table>